package cn.lls.entity.sys;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 划水艺术家
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lls_employee_role")
public class EmployeeRoleEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Id，主键
     */
    @TableId(value = "e_r_id", type = IdType.AUTO)
    private Long eRId;

    /**
     * 员工Id，外键
     */
    private Long userId;

    /**
     * 角色Id，外键
     */
    private Long roleId;

    /**
     * 逻辑删除 1删除 0未删除
     */
    @TableLogic
    private Integer isDeleted;


}
